package com.zhuangxiaoyan.spring.srcode.adapter;

/**
 * @Classname HandlerAdapter
 * @Description TODO 自定义适配器的接口实现
 * @Date 2022/5/8 14:21
 * @Created by xjl
 */
public interface HandlerAdapter {
    /**
     * @description 更具Handler判断HandlerAdapter类型 如果找到对应的类型那就返回true
      * @param: var1
     * @date: 2022/5/8 14:24
     * @return: boolean
     * @author: xjl
    */
    boolean supports(Object var1);
    /**
     * @description 执行请求的方法
      * @param:
     * @date: 2022/5/8 14:25
     * @return: void
     * @author: xjl
    */
   void handler(Object handler);
}
